<div class="row-fluid">
    <h2 class="text-center">Valuta:</h2>
        <div class="table-responsive">
        <table class="table-striped table-hover table-condensed text-center" style="width: 100%;">
            <thead >
                <tr>
                    <th></th>
                    <th class="text-center">Nome</th>
                    <th class="text-center">Logo</th>
                    <th class="text-center">Link</th>
                    <th class="text-center">Bonus</th>
                    <th class="text-center">Puntata Min</th>
                    <th class="text-center">Versamento Min</th>
                    <th class="text-center">Valuta</th>
                    <th class="text-center">Email</th>
                    <th class="text-center">Categorie</th>
                    <th></th>
                    <th class="text-center" colspan="2">Azioni</th>
                </tr>
            </thead>
            <tfoot>
                <tr class="text-right">
                    <td colspan="13"><a href="<?php echo $this->webroot?>Bookmaker/add"><i class="fa-plus"></i> Aggiungi un Bookmaker</a></td>
                </tr>
            </tfoot>
            <tbody>
               <?php if(count($bookmakers)==0){ ?>
                 <tr><td colspan="13">Non hai caricato nessun bookmaker.</td></tr>  
                   
               <?php }?>
               <?php foreach($bookmakers as $key=>$bookmaker){?>
                <tr>
                    <td><?php echo $key+1 ?></td>
                    <td><b><?php echo $bookmaker["Bookmaker"]["nome"]?></b></td>
                    <td><img src="<?php echo $this->webroot. $bookmaker["Bookmaker"]["logo"]?>" style="width: 50px;" /></td>
                    <td><a href="http://<?php echo $bookmaker["Bookmaker"]["link"]?>"><?php echo $bookmaker["Bookmaker"]["link"]?></a></td>
                    <td><?php echo $bookmaker["Bookmaker"]["bonus"]?></td>
                    <td><?php echo $bookmaker["Bookmaker"]["puntata_minima"]?></td>
                    <td><?php echo $bookmaker["Bookmaker"]["versamento_minimo"]?></td>
                    <td><?php echo $bookmaker["Bookmaker"]["valuta"]?></td>
                    <td><?php echo $bookmaker["Bookmaker"]["email"]?></td>
                    <td><?php echo $bookmaker["Bookmaker"]["tags"]?></td>
                    <td> &nbsp;</td>
                    <td><a data-confirm href="<?php echo $this->webroot?>Bookmaker/delete/<?php echo $bookmaker["Bookmaker"]["id"]?>"><i class="fa-trash-o"></i> Elimina </a></td>
                    <td><a href="<?php echo $this->webroot?>Bookmaker/edit/<?php echo $bookmaker["Bookmaker"]["id"]?>"><i class="fa-pencil"></i> Modifica </a></td>
                </tr>
               <?php }?>
            </tbody>
        </table>
    </div>
</div>
